CopyPastor

Detecting plagiarism made easy.

Score: 0.7548925280570984; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2018-05-23
by PPL

Original Post

Original - Posted on 2013-12-21
by umanathan



            
Present in both answers; Present only in the new answer; Present only in the old answer;

Let's say you have a class B like this,
class B { public enum MyEnum: String { case oneDay = "1d" case sevenDays = "7d" case thirtyDays = "30d" } }
you can access it in class A like this,
class A { struct ApiRequest { static func getUrl() { print(B.MyEnum.oneDay) } } }

class test { void message() { System.out.println("super class"); } } class demo extends test { int z; demo(int y) { super.message(); z=y; System.out.println("re:"+z); } } class free{ public static void main(String ar[]){ demo d=new demo(6); } }

        
Present in both answers; Present only in the new answer; Present only in the old answer;