Basics. last part 5. :)
A keyword is a reserved word in Java that has a specific meaning to the compiler. You cannot use the name of a keyword as a variable, method, or class.
Static => static is a modifier used to define a class-wide variable or method. It is a globally accessible field. A method marked static can only use other static variables or methods.
Final => The keyword final is used to specify a field or method as immutable. A variable marked final cannot be assigned a new value once initialized.
NOTE: A final reference variable can…
Basics. Part 4
A String is a special class that is defined in the package java.lang. A package is just a folder or directory structure. All Java programs have access to this package by default, so you don’t need to do anything special to use it.
A String can be created in two different ways.
1) The literal notation uses double quotes:
String s = “Hello”;
2) By using the new keyword (this is a less common approach)
String s = new String(“Hello”);
When creating Strings using the literal notation, that String is either matched when one already created or…
Basics, part 3
A class is a structure that maintains state and behavior. It serves as a template or blueprint for an object. For example, you could define a Robot class. The state of the class would be properties like size, weight, propulsion, etc.
The behavior would be methods like communicate(), track(), etc.
Access modifiers control how accessible data is from outside classes.
* public: public data can be accessed by any class in the application
* protected: protected data can only be accessed by classes in the same package or a subclass (which can be in any other package)…
Basics, part 2.
A statement is a line of code. It is like a sentence in English, but for computers to execute.
Types of Statements:
A statement is either an expression statement or a control flow statement.
- Expressions: variable declaration is an expression statement in which you create a variable. The following code snippet demonstrates several lines of variable declarations:
int a = 5;
boolean b = false.
Method invocations (when you execute a method) is another type of expression.
- Control Flow: control flow or conditional statement uses if-else statements, switch statements, or loops to alter…
Basics part 1
A job search path can be pretty exciting. Another exciting interview for a great company! For the technical part, they send over some materials to go over and prepare for the technical interview with JAVA. I can’t say enough how convenient situations like that are for us — new in tech! I received everything I needed, to learn a new language! materials and resources, and the most important — deadline! I feel like this is the most important for the success of any project. Let me tell you what I have learned:
Last week a had pleasure to attend a technical interview, can’t tell you yet how it goes, still waiting for an email. Going through an experience like that, I, as a Software Engineer always want to make this easier for others (since I have been there). We all know how hard is to find the first job. It’s crucial to support each other in this difficult time — job search.
So one of the questions I received from the recruiter was: What is the difference between Object and Class?
And I hesitated! The difference was so obvious that…
Every developer know not-from-today, that website which works only on computer’s desktop is not value for users. Today, a website must not work and look good only on a desktop screen, but also on tablets and smartphones. It’s a must-must that no one is even talking about it!
Since no one is talking about it, how to find out how to it? Since recently I am working on real deal, big time project for Fight Pandemics, I am learning everyday something new! …
When REALLY to use
let, and arrow functions.
A couple of days ago, I had a chance to attend the Dropbox coding challenge. The challenge itself was interesting, but one of the requirements was to optimize your code. What is mean, that not only your code should be correct (obviously :), but also need to be fast enough to pass all of the 10 tests. I can’t say that I did a great job on the challenge, but like every good programmer, I dive deeper into the topic, to make sure I won’t repeat mistakes.
“It’s a fast, easy way to contribute to projects from OS X and Windows. Whether you’re new to GitHub or a seasoned user, GitHub Desktop is designed to simplify essential steps in your GitHub workflow and replace GitHub for Mac and Windows with a unified experience across both platforms.”
FigthPandemics gave me a chance to see how it is to work with a real-size web application. I was and still am amazed at how many features/components/folds/files have been created for one web application. I was able to dig in and explore, in exchange, I am helping redesign user profile card.
“Docker is hotter than hot because it makes it possible to get far more apps running on the same old servers and it also makes it very easy to package and ship programs.” — by Steven J. Vaughan-Nichols for Linux and Open Source
Docker is a set of the platform as service products that use OS-level virtualization to deliver software in packages called containers. Containers are isolated from one another and bundle their own software, libraries, and configuration files; they can communicate with each other through well-defined channels.
While working on a project for FightPandemics I was introduced to Docker…