Sample method to find factorial

Sample method to find factorial


import java.io.*;
class Factorial{
  public static void main(String[] args) {
  try{
  BufferedReader object = new BufferedReader(new InputStreamReader(System.in));
  System.out.println("enter the number");
  int a= Integer.parseInt(object.readLine());
  int fact= 1;
  System.out.println("Factorial of " +a+ ":");
  for (int i= 1; i<=a; i++){
  fact=fact*i;
  }
  System.out.println(fact);
  }
  catch (Exception e){}
  }
}

Sample program for aggregation

Sample program for aggregation


class MainTest 
{
Test1 t1;
Test2 t2;
Test3 t3;
MainTest(Test1 t1,Test2 t2,Test3 t3)
{
this.t1=t1;
this.t2=t2;
this.t3=t3;
}
void disp()

simple program methods overloading vs hierarchical inheritance

simple program methods overloading vs hierarchical inheritance

class Heroin
 {
int Rating()
{ return 0; }
}
class Anuska extends Heroin 
{
int Rating()

TRICKS TO REMEMBER G8,G20 MEMBER COUNTRIES EASILY NO NEED TO BY-HEART

TRICKS TO REMEMBER EASILY  NEED TO BY-HEART

For competitive we have to remember the number of committees and member countries.

It is difficult to remember all the countries of the committees so here are some tricks to remember the particular countries of committees.  

To remember group of 8 (G8) countries

the code is :

COMPLETE SYLLABUS FOR JAVA(CORE AND ADVANCE)

complete syllabus for JAVA(core java and adv java)

Java Training course contents in simple words:
Core Java, Advanced Java, J2EE, junit, rcp, Design Patterns, Agile, html5, css3, cms, git/svn, maven, Linux commands and Linux architecture, projects development using advanced API including Mail API, XML Parser, JAVA Excel API etc
Course Overview:

WHY C LANGUAGE IS NOT PLATFORM INDEPENDENT

WHY C LANGUAGE IS NOT PLATFORM INDEPENDENT

C  is not a platform independent language. But java is java is platform independent. the reason is nothing but java has JVM java virtual machine.

Then what is java virtual machine.

The JVM is nothing but a program which verifies and identifies particular operating system and provides the related executable code for that operating system.

SIMPLE STEPS TO INSTALL JAVA AND SETTING CLASS PATH

Below are the step by step process that how to install a java on your any operating system.

steps to install JAVA on any operating system.

1> log in into the site Oracle.com then downloads 
2> next it asks you to check your OS that your operating system contains any pre-installed java files
3> If not it directly ask you to download the java to your machine

4>. To download java to your windows operating system just click here

TRICK TO DO % CALCULATIONS

tricks to do % calculations 


calculate the below:
1> what is 23% of 250 ?
ans:  
we can write the above like this also
250 % of 23
so we can do like below
250 % is nothing but     100% + 100% + 50%  
so 100% of 23 is 23
23+23+50% of 23
=>
23+23+11.5=57.5. 

TRICKS TO REMEMBER IMPORTANT DAYS OF A MONTH

TRICKS TO REMEMBER IMPORTANT DAYS OF A MONTH  

STORY TO REMEMBER JANUARY MONTH :
( our altimate goal is remembering remember that k)
           The world is nothing but a family so the day starts with family World Family Day
there are 4 femal members in that family and they don't wear any 'bra'ille day  World Braille Day
these family taking care of 6 orphan children - World War Orphans Day.

South Indian Bank recruitment 2015 Telangana and AP only

South Indian Bank 
south indian bank one of the largest private sector bank in india annouced the post for probetionary clerks for the region of newly formed Telangana and Andhra Pradesh.

official notification and apply link

but present site facing some security issuies and administrations trying to solve the problem.
for complete details..