Vnkr Technologies

Vnkr Technologies Online training institute for JAVA and J2EE technologies

VNKR Technologies is very pleased to introduce our self as an esteemed organization which born from a thought to provide sound Technical knowledge to the candidates who are aspiring for IT industry. VNKR Technologies primarily it is a virtual organization which provide online training on Java and Advanced Java concepts.

JAVA/J2EE online coaching at affordable price...
20/12/2013

JAVA/J2EE online coaching at affordable price...

07/12/2013

It always seems impossible until its done.
Nelson Mandela

A truly great man. Rest in peace Nelson Mandela. Your work will never be forgotten.

04/12/2013

Swapping two numbers without using temp variable in JAVA

Useful for freshers:

public class Swap
{
public static void main(String[] args)
{
int a = 10;
int b = 20;

System.out.println("value of a and b before swapping, a: " + a +" b: " + b);

//swapping value of two numbers without using temp variable
a = a+ b; //now a is 30 and b is 20
b = a -b; //now a is 30 but b is 10 (original value of a)
a = a -b; //now a is 20 and b is 10, numbers are swapped

System.out.println("value of a and b after swapping, a: " + a +" b: " + b);

}

}
www.facebook.com/vnkrtechnologies

03/12/2013

Guys here i just want to share how to know the Heap memory allocated for our java programs in our machine and how we can increase or decrease the heap memory....

Here is the code to get the default heap memory

public class GetHeapSize {
public static void main(String[]args){

//Get the jvm heap size.
long heapSize = Runtime.getRuntime().totalMemory();

//Print the jvm heap size.
System.out.println("Heap Size = " + heapSize);
}
}

it is possible to increase heap size allocated by the JVM by using command line options Here we have 3 options

-Xms set initial Java heap size
-Xmx set maximum Java heap size
-Xss set java thread stack size

Example: java -Xms16m -Xmx64m ClassName

In the above line we can set minimum heap to 16mb and maximum heap 64mb

for more update please visit: www.facebook.com/vnkrtechnologies

01/12/2013

Following design pattern questions are asked in various Java interviews. In fact every Java interview has some questions from software design and design pattern like decorator, factory, MVC and Observer.

30/11/2013

interview Question for Freshers:
How does Java implement polymorphism?

(Inheritance, Overloading and Overriding are used to achieve Polymorphism in java).
Polymorphism manifests itself in Java in the form of multiple methods having the same name.

• In some cases, multiple methods have the same name, but different formal argument lists (overloaded methods).
• In other cases, multiple methods have the same name, same return type, and same formal argument list (overridden methods).

www.facebook.com/vnkrtechnologies

29/11/2013
24/11/2013

Friends Use 'File.separator' instead of '/' while dealing with file system.
Reason: As we know that java is platform independent JVM will internally take care of converting the Separator of a file to that specific OS where we are running our java Program. On other hand coming to UI in order to make people comfort with their OS specific Symbols its always preferable to write like this..... www.facebook.com/vnkrtechnologies

23/11/2013

Hi every one, VNKR Technologies Announcing new Java/j2ee online batch on 3rd December 2013.
Batch1 : Morning 6am to 8am

Classes free for 2 weeks, Reserve your slot by just leaving a mail at: [email protected]
No prior payment required.

Note: High quality content assured at low price.
visit: www.vnkrtechnologies.in

Address

#72, 7th Main, Hongasandra Main Roead
Bangalore
560068

Alerts

Be the first to know and let us send you an email when Vnkr Technologies posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Contact The Business

Send a message to Vnkr Technologies:

Share