Showing posts with label java. Show all posts
Showing posts with label java. Show all posts
Sunday, July 9, 2017
Public access modifier in java
Public access modifier in javaAs its name public itself indicates that any member of the class declared as public will be visible and accessible ANYWHERE. We have two scope in java programs :1. Class scopeSub-class in the same package --> Public is visible .Sub-class in different package --> Public is visible.Another class in the same package --> Public is visible.Same class in the same package --> Public is visible.2....
PSD Java Train the Trainer

PSD Java Train the TrainerFrom Jan 20th until 28th the first PSD (Java) Train the Trainer gathering took place. It was held in Sao Paulo/Brazil. The idea behind train the trainer is to horizontally scale up our effort to teach good and emergent coding practices to developers. With more trainers there is more exposure. Let’s cross the chasm!The training was two-fold. First Giovanni Bassi from Lambda3...
Monday, June 26, 2017
Protected access modifier in Java
Protected access modifier in JavaLike public and private, protected is also a access modifier which has different visibility scope and it is also one of the keyword in java. Its scope are valid to the other packages but it should be within the sub-class. Like private we can be able to use protected scope with the constructor, methods, variables and inner classes. Accessing protected member outside its scope will give compilation error saying " Not Visible ".Note : We cannot use protected...
Friday, May 19, 2017
Private access modifier in Java
Private access modifier in JavaPrivate is the keyword in java and it is also called as the access modifier in java which defines the visibility to the members of the class like methods, constructors, variables etc. Declaring private to the members of the class will limit theirs visibility to that class only. If we are trying to access any private member in another class then compiler will give compilation error as " Member are not visible ". Note : We cannot use private with the...
Wednesday, May 17, 2017
OpenGL and Java
OpenGL and JavaWhile some programmers might still dont like this idea, developing a OpenGL-based 3D application using Java is possible. One option is to use the OpenGL implementation of Java3D, and the other is using an external library. JOGL (Java Binding for OpenGL) belongs to the latter category.So, if you are a programmer who like to make a 3D application using OpenGL and also still want to take the advantage of Javas windowing system (AWT and Swing), JOGL is a great solution. JOGL...
Wednesday, April 12, 2017
PSD Java First Run

PSD Java First RunMost Scrum implementations fail or have limited success for one reason. The team is not able to really deliver a potential shippable product increment according to the definition of done. This causes all kinds of problems down the road. One of the main manifestations is that the the sprint cadence goes over board. By loosing this, you loose one of the main points of transparency.This...
Thursday, March 30, 2017
Preventing Tomcat java lang OutOfMemoryError PermGen space failure

Preventing Tomcat java lang OutOfMemoryError PermGen space failureThe "OutOfMemoryError: PermGen space" message is normally encountered during development activites where a long-running JVM is asked to load/unload builds. However it can also be encountered in a recently spawned JVM under the "right" set of conditions.The message is a symptom of an incomplete garbage collection sweep where resources...
Labels:
failure,
java,
lang,
outofmemoryerror,
permgen,
preventing,
space,
tomcat
Sunday, March 12, 2017
Object in Java

Object in JavaIn java we can define object as the instance of class. Object is used to instantiate all the non-static members. In java everything is based on Object, it means memory are allocating for the objects only. Everything we are dealing with is the help of object only , it may be calling method, accessing instance variable and many more. Important point regarding Object in java1> Object...
Thursday, February 23, 2017
Operators in Java
Operators in JavaBasically we can treat operators in three category on the basis of operand used with the operators i.e1> Unary Operator2> Binary Operator3> Ternary OperatorUnary Operator It is the operator used with the single operand . As its name indicate " unary " that means " single ".Some of the unary operators are increments ( ++ ) and decrements ( -- ) operators. We will study in details about these operators in their respective topic later in this tutorial.We...
Wednesday, January 25, 2017
Program to print a simple text in java
Program to print a simple text in javaAfter installing java and setting the path for it now its turn to have some fun with codes. Now i am going to tell you how to print your text in java. Its a very simple program and basically for beginners. There are some important concept of packages in java and i m going to use that package concept in my program just to make you aware for this. We will see the details in their respective topics.First program in java to print a simple text !import...
Subscribe to:
Posts (Atom)