NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

class Gatewaygroup {
public int establishmentYear;
public float annualrevenue;
public String bod[] = { "bhumi", "dhriti", "raj" };

public int getEstablishmentYear() {
return establishmentYear;

}

public void setEstablishmentYear(int year) {
establishmentYear = year;
}

public float getAnnualRevenue() {
return annualrevenue;

}

public void setAnnualRevenue(int revenue) {
annualrevenue = revenue;
}
public void getBod() {
return bod;
}
public void setBod(int revenue) {
annualrevenue = revenue;
}
public void gateway() {

System.out.println("Records of Gateway group");
Gatewaygroup t = new Gatewaygroup();
t.setannualrevenue(1000000);
System.out.println("Annual revenue of gateway group is:" + t.getannualrevenue());
t.setestablishmentyear(1997);
System.out.println("Establishment year of gateway group is:" + t.getEstablishmentYear());
for (int i = 0; i < 3; i++) {
System.out.println("BOD of gateway group is:" + t.bod[i]);
}
System.out.println("###########");
}

public void auto() {
System.out.println("Records Of AutoFacets");
Autofacets a= new Autofacets();
a.setannualrevenue(700000);
System.out.println("Annual revenue of autofacets is:"+a.getannualrevenue());
a.setestablishmentyear(1998);
System.out.println("Establishment year of autofacets is:"+a.getEstablishmentYear());
for(int i=0;i<3;i++) {
System.out.println("BOD of gateway group is:"+a.bod[i]);
}
// a.setnoofemployees(300);
// System.out.println("No of employees gateway group is:"+a.getnoofemployees());
// for(int j=0;j<3;j++) {
// System.out.println("Locations:"+a.locations[j]);
//
// }
for(location l :noofemployees.values() )
{System.out.println(l);}

System.out.println("Value of ahmedabad is: "+noofemployees.values()("WINTER"));
System.out.println("Index of netherlands is: "+noofemployees.values()("WINTER").ordinal());
System.out.println("Index of ussr is: "+noofemployees.values()("SUMMER").ordinal());

System.out.println("###########");
}

public void digital() {

Gatewaydigital g = new Gatewaydigital();
g.setannualrevenue(250000);
System.out.println("Annual revenue of gatewaydigital is:" + g.getannualrevenue());
g.setestablishmentyear(1999);
System.out.println("Establishment year of gatewaydigital is:" + g.getEstablishmentYear());
for (int i = 0; i < 3; i++) {
System.out.println("BOD of gateway group is:" + g.bod[i]);
}
g.setnoofemployees(500);
System.out.println("No of employees gateway group is:" + g.getnoofemployees());
for (int j = 0; j < 3; j++) {
System.out.println("Locations:" + g.locations[j]);

}
}

public static void main(String[] args) {
Gatewaygroup t = new Gatewaygroup();
t.gateway();
t.auto();
t.digital();

}
}

class Autofacets extends Gatewaygroup {

Autofacets(){
super.
}
}
class Gatewaydigital extends Gatewaygroup {
public int noofemployees;
// enum locations
// {"Ahmedabad,"pune","Gandhinagar"c;
// }
// public int getnoofemployees() {
// return noofemployees;
// }
// public void setnoofemployees(int num) {
// noofemployees=num;
// }
// }

}

enum Locations {
Ahmedabad("Ahmedabad", 1000), netherlands("netherlands", 500), Ussr("ussr", 200);

private String locations;
private int noofemployees;

public String getLocations() {
return this.locations;
}

public int getNoofemployees() {
return this.noofemployees;
}

// enum constructor - cannot be public or protected
private Locations(String locations, int noofemployees) {
this.locations = locations;
this.noofemployees = noofemployees;
}
}
     
 
what is notes.io
 

Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 14 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.