Variables are used to store data in java run-time. Methods are used to process access and manipulate the variables. Methods are primary building block in enterprise application as it holds the business logic of an enterprise. Each object in java ...
Static members help to write code to support sharing of objects or to create only one instance of class (Singleton pattern) in application. Let us discuss what static member in Java. Static members are class variables and methods with modifier ...
Having the door would not ensure safety for home. Locking the door is important and ensures the safety of the home. The same analogy applicable for Java object oriented feature as well. Writing a class in java would not provide ...
A class is a blueprint or a template for creating objects and defines its properties and behaviors. Java class objects exhibit the properties and behaviors defined by its class. A class can contain fields and methods to describe the behavior ...
“A name represents identity, a deep feeling, and holds tremendous significance to its owner.” Naming the code artifacts is important in programming coding practices. In Java, we would name the variables, methods, constants, classes and interfaces. We have to follow ...
Developers should use the proper, available smart tools for their development environment for faster development. Eclipse java development environment provides editor to fast development and easy to debug the code. We would discuss the configuration of java eclipse development environment. ...
More number of developers are familiar and expert in procedural languages like C and Visual Basic. We can develop the software solution by procedural languages, then why it is required to move to object oriented programming (OOPS)? Why OOPS has ...
“Software application developed in 2 years, but the maintenance for the application spans for 20 years”. “80% of the software engineers maintain the code already written by someone”. The industry research data shows the importance of writing the code which ...
“Every software design document highlights that code should be reusable, extensible and robust. It measures the quality of the code. Everyone thinks their code has all the qualities. But we have seen many occurrences same code copied in more than ...
We have read everywhere it described that java as platform independent. Yes. (Period) It is only platform independent language. The other languages like JavaScript, PHP and Python are considered as platform independent. But those are scripting or interpreting language. Only ...













