• Home
  • About
  • Services
    • Mobile Solutions
    • Cloud Deployment Services
    • Web Solutions
    • Business Technology Consulting
    • Graphic Designs
    • Search Engine Optimization
    • Social Media Marketing
    • Software Training
  • Products
    • Visitor Master
    • Builder Master
    • Garage Master
    • Call Service Management
    • Invoice
  • Blog
  • Career
  • Contact
Get the Best Byte! Get the Best Byte! Get the Best Byte!
  • Home
  • About
  • Services
    • Mobile Solutions
    • Cloud Deployment Services
    • Web Solutions
    • Business Technology Consulting
    • Graphic Designs
    • Search Engine Optimization
    • Social Media Marketing
    • Software Training
  • Products
    • Visitor Master
    • Builder Master
    • Garage Master
    • Call Service Management
    • Invoice
  • Blog
  • Career
  • Contact

Archives

Tag Archives for: "enum in java"
 Java Enum Introduction
0
By Nithya Vasudevan
In Enumerations
Posted October 17, 2016

Java Enum Introduction

An Enumeration is a list of named constants. We can create constants in Java using final and static keywords as well. But whenever we want a variable to hold a value from a set of valid values, [...]

READ MORE
 Declaring Enums
0
By Nithya Vasudevan
In Enumerations
Posted October 17, 2016

Declaring Enums

An enum is created using ‘enum‘ keyword in Java. When we define an enum, we are implicitly extending java.lang.Enum. The compiler converts our enum into a class which extends [...]

READ MORE
 Creating Enum variables
0
By Nithya Vasudevan
In Enumerations
Posted October 17, 2016

Creating Enum variables

Even though enum is a class type, we do not use new keyword but create a variable just like a primitive type as follows. PizzaSize size; (Or) PizzaSize size = PizzaSize.LARGE; The main advantage [...]

READ MORE
 Comparing Enums
0
By Nithya Vasudevan
In Enumerations, HTTP
Posted October 17, 2016

Comparing Enums

We can use either == or equals() method to compare enum values. Example: Both the ‘if’ statements in the below code are equivalent. SIZE == LARGE SIZE EQUALS LARGE Pizza Size is LARGE

READ MORE
 Using Enums in switch case
0
By Nithya Vasudevan
In Enumerations
Posted October 17, 2016

Using Enums in switch case

Just like how we used enums for comparison in ‘if’ statement, we can also use enums in switch case as follows. The enum variable is specified as switch expression and all the case [...]

READ MORE
 Iterating Enum values
0
By Nithya Vasudevan
In Enumerations
Posted October 17, 2016

Iterating Enum values

If we want to iterate all the values in the enum, we can use the values() method of enum which returns an array of enum values as enum type. This method values() is actually inserted by the [...]

READ MORE
 Enum Advanced Features
0
By Nithya Vasudevan
In Enumerations
Posted October 17, 2016

Enum Advanced Features

Java programming language enum types are much more powerful than their counterparts in other languages. The enum declaration is converted into a class which inherits java.lang.Enum. Since [...]

READ MORE
 Enum converted to Class
0
By Nithya Vasudevan
In Enumerations
Posted October 17, 2016

Enum converted to Class

By using any Java Decompiler we can see what the enum converted class looks like. Here we use Jad software for decompiling java class files. Download Jad for your platform from this link – [...]

READ MORE
Products
  • Visitor Master
  • Garage Master
  • Builder Master
  • Call Service Management
  • Invoice
Services
  • Mobile Solutions
  • Cloud Deployment Services
  • Web Solutions
  • Business Technology Consulting
  • Graphic Designs
  • Search Engine Optimization
  • Social Media Marketing
  • Software Training
STAY IN TOUCH
iByteCode Technologies
B10, Mogappair Industrial
Estate, Mogappair East,
Chennai, INDIA
Email: contact@ibytecode.com
Phone: +91 44 4385 1836
© 2019 iByteCode. ALL RIGHTS RESERVED. Privacy Policy Terms of Service