JAVA CODE SNIPPET-4

Java Code Snippet-4
/**
 * 
 */
package techyield;

/**
 * @author satyanarayana gokavarapu
 *
 */
public class Super {
 void init(final long a,long b)
 {
  System.out.println("Super class long method.");
 }

}
package techyield;
/**
 * @author satyanarayana gokavarapu
 *
 */
public class Test extends Super{

 public static void main(String[] args) {
  // TODO Auto-generated method stub
  Test object = new Test();
  object.init(2,3);
 }
 void init(int... a)
 {
  System.out.println("Test class varargs method.");
 }
}

Select an answer





Please comment below if you have any doubts.

JAVA CODE SNIPPET-3

Java Code Snippet-3

public class Techyield {


 private static int p = test();

 static int test()
 {
  return 99;
 }


 public static void main(String[] args) {
  // TODO Auto-generated method stub
  System.out.println("value of p"+p);
  System.out.println(++p);
  System.out.println(5+p--+2);
  System.out.println(++p*10);
 }

}

Select an answer





Please comment below if you have any doubts.

JAVA CODE SNIPPET-2

Java Code Snippet-2

public class Techyield {


 private static int p = test();

 static int test()
 {
  return 99;
 }


 public static void main(String[] args) {
  // TODO Auto-generated method stub
  System.out.println("Value of p is "+p);
 }

}

Select an answer





Please comment below if you have any doubts.

JAVA CODE SNIPPET-1

Java Code Snippet-1
package techyield;

public class GrandParent {
 public void method1(int a){
  System.out.println("In GrandParent class and in method1 
and with one int argument and value is "+a);
 }
}
package techyield;

public class Parent extends GrandParent{
 public void method1(int a){
  System.out.println("In Parent class and in method1 and 
with one int argument and value is "+a);
 }
}
package techyield;

public class Child extends Parent{

 public static void main(String[] args) {
  // TODO Auto-generated method stub
  System.out.println("Main method");
  Child child=new Child();
  child.method1(2);

 }
 public void method1(int a){
  System.out.println("In child class and in method1 and 
with one int argument and value is "+a);
 }
}
What is the Output On the Console ?

Select an answer

Please comment below if you have any doubts.

Educational Documents for F1 Visa

Educational Documents for F1 Visa
  • Original degree certificates along with mark sheets.
In case if you didn't received your original degree certificate or if you just completed final year take your mark sheets and provisional certificate if available. 

Sometimes immigrant officer may even say ,  to attend interview after getting documents with out rejecting.
  • Original bachelor degree transcripts or high school diploma along with  mark sheets all the previous institutions you attended.
  • Test scores GRE , TOEFL or IELTS or SAT , GMAT , LSAT . Take all those exam related documents on what basis you got admitted into the University or School or College.
  • Some Universities may not require scores , in that case you have to show the proof that University doesn't require such scores . 
For example : Showing a letter from University that it doesn't require particular exam score for the admission.

Note : Having good scores in exams always have good impact or impression during F1 Visa.


Useful Links :

Documents Checklist for F1 Visa (Student Visa)




Financial Documents for F1 Visa

Financial Documents for F1 Visa

An F1 visa applicant need to show evidence of financial resources, proof of liquid assets sufficient to pay for the entire first year of education and living expenses and also proof of readily available funds to cover the remaining year(s) of studies.

Proof of your Financial resources or documents should be of following category :
  • Applicant's personal resources . By showing bank statements either liquid amount , assests , house , land , agricultural lands or Fixed Deposits.
  • Pay slips , PF , Employment letters.
  • Chartered account statement if available not mandatory.
  • Tax returns of the past 3 years (Form 16) .
  •  In case if someone is sponsoring you , then you have to carry his tax returns of past 3 years ,  his bank statement showing sufficient funds .
  • In case if your sponsor is in US . Then you have to carry a notarized FORM I-134 along with his past 3 years tax returns and bank statement.(It is not better to show assets of persons in the United States).
  • Financial aid from the university in the form of a scholarship, fellowship, assistant-ship (TA/GA/RA). which will be mentioned in your I-20 .
  • Financial aid from the student's home government if your government is sponsoring for your studies or any private organizations sponsoring you.

Note : Always answer to immigrant officer with confidence , if any transactions done in your bank account recently answer correctly, why those transactions happened . Be ready with answers don't panic .



Useful Links :

Documents Checklist for F1 Visa (Student Visa)




Documents Checklist for F1 Visa (Student Visa)

Mandatory Documents




  • Current passport . If you have old passports please carry them too
  • Carry copies of first page , last page and remarks page of your current passport.
  • One photograph
  • Confirmation page of online submitted DS-160 Form with CEAC bar code.
  • Visa Fees paid receipt. You have to pay the Visa Fees before attending for the interview .
  • Original interview appointment letter and one copy of it.
  • (I-901) SEVIS Fee paid receipt and one copy of it.
  • Both pages of bar-coded original SEVIS generated Form I-20 which you received from the US School ,College or University that you are going . Take a copy of it .(Xerox copy of I-20)
Note : The original Form I-20 must be signed by you and by the school official.

           You may get many I-20's from many universities that you applied but make
           sure that you are showing  the right one to the authority.
           Even if you carry all I-20's .

           During F1 Visa interview they will never stamp on your I-20 . Once when you
           enter US the immigrant officer at the entry will stamp on it.










Featured Post

H1B Visa Stamping at US Consulate

  H1B Visa Stamping at US Consulate If you are outside of the US, you need to apply for US Visa at a US Consulate or a US Embassy and get H1...