EasyExamNotes.comTypes of variables in Java programmingSeptember 3, 2020 · Team EasyExamNotes · 1 min read (est.) · 0 commentsPrint / Save PDFPDFShare on WhatsAppShareCopy linkCopyWhat are the types of variables in Java ? Ans. The types of variables in Java are- Instance variable Static variable Local variable class EEN{ int age=20;//instance variable static int a=30;//static variable void show(){ int b=40;//local variable } } Source: https://easyexamnotes.com/types-of-variables-in-java-programming/
Discussion
Ask a question, share your thoughts or report an error.
Sign in to participate in the discussion.
Join the discussion