Jump to content

Question

Posted

8a h8ela na mou pei an gnwrizei kapoios, pws ginete na kriptofrafisoume to compile apo ena pack, wste an dokimasei na paei kapoios na to kanei decompile, na ta vgazei ola mperdemena ti ennow? ena paradeigma

px exoume mia klasi: public class eventBase { } ktl ktl

kai kanoume compile to pack, an paei kapoios na to kanei decompile na tou vgazei oti nanai px

to public class eventBase na to grafei to papaki paei sthn potamia :P

 

6 answers to this question

Recommended Posts

  • 0
Posted

den ginete ayto poy zitas.... otan kapios paei na spasi to pack soy ta blepei ola kanonika opos itan prin to comlipe ola ta file ... san na ta diabazi h java dld ...

to mono poy mporin na kanis gia na diskolepsis kapion na spasi ena pack einai na mpleksis ton core me dll arxia ta opoia einai kapos pio diskola stin epeksergasia ...

alla kai pali apla tha einai pio diskolo ( an kapios theli na to spasi tha ta kataferi )

  • 0
Posted

8a h8ela na mou pei an gnwrizei kapoios, pws ginete na kriptofrafisoume to compile apo ena pack, wste an dokimasei na paei kapoios na to kanei decompile, na ta vgazei ola mperdemena ti ennow? ena paradeigma

px exoume mia klasi: public class eventBase { } ktl ktl

kai kanoume compile to pack, an paei kapoios na to kanei decompile na tou vgazei oti nanai px

to public class eventBase na to grafei to papaki paei sthn potamia :P

 

Ean 8es na prostateusis ta codes pou einai enswmatomena mesa sta jars , Mporeis me ton e3eis tropo :

 

Ta sovara part tou code auta pou dn 8es na vgoun para e3w . ta trexeis wx private kai oxi public.

Px exeis enan kwdika 3ekinaei kapos etcC

:

 

public main (string args[]){

 

}

 

Meta vazeis mesa ena private. :

 

private static void getPassword(){

blablabla..blablabla.. Mysql.. password .. oti 8es me liga logia.

}

 

Meta vazeis sto main :

 

public main (string args[]){

getPassword();

}

 

Me auto ton tropo trexeis to private , to opio dn mporei na fanei pou8ena , mono i java to trexei.

 

**Mionektimata einai pos dn mporeis na xrisimopihseis apo allo class (dld apo allo java file) to void getPassword() . Xrisimopihte mono apo to java file pou exeis to getPassword() .

Mporeis fisika na psaxneis kai me to protected void .. Google :) .

 

  • 0
Posted

fovos ty gia to reply sou, alla den ennoousa afto, px kanw ena project kai to kanw compile, yparxoun programmata pou kanoun decompile, kai etsi mporei kapoios na parei to source apo to compile pack, ena tetoio programma einai to DJ java decompiler, egw den 8elw na sumvei kati tetoio, 8elw sto decompile na ta kanei ola skata na mhn vgazei nohma aftos pou 8a kanei to decompile.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...