{"id":10312,"date":"2022-09-23T07:16:05","date_gmt":"2022-09-23T01:46:05","guid":{"rendered":"https:\/\/jassweb.com\/solved\/solved-class-interface-or-enum-expected-error\/"},"modified":"2022-09-23T07:16:05","modified_gmt":"2022-09-23T01:46:05","slug":"solved-class-interface-or-enum-expected-error","status":"publish","type":"post","link":"https:\/\/jassweb.com\/solved\/solved-class-interface-or-enum-expected-error\/","title":{"rendered":"[Solved] Class interface or enum expected &#8211; Error"},"content":{"rendered":"<p> [ad_1]<br \/>\n<\/p>\n<div id=\"answer-50819514\" class=\"answer js-answer accepted-answer js-accepted-answer\" data-answerid=\"50819514\" data-parentid=\"50818163\" data-score=\"0\" data-position-on-page=\"1\" data-highest-scored=\"1\" data-question-has-accepted-highest-score=\"1\" itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<div class=\"post-layout\">\n<div class=\"votecell post-layout--left\"><\/div>\n<div class=\"answercell post-layout--right\">\n<div class=\"s-prose js-post-body\" itemprop=\"text\">\n<p>Ciao Mario,<\/p>\n<p>I think you want an Android app able to do this. First of all you have Android Studio installed so in Android Studio click on <code>File<\/code> -&gt; <code>New<\/code> -&gt; <code>New Project...<\/code> and let&#8217;s create the project as shown here. Your project location will be different and it&#8217;s ok but if you don&#8217;t want to have troubles later please leave the same package name<\/p>\n<p><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/09\/Solved-Class-interface-or-enum-expected-Error.jpg\"><img decoding=\"async\" src=\"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/09\/Solved-Class-interface-or-enum-expected-Error.jpg\" alt=\"project_setup1\"><\/a><\/p>\n<p>then leave the default in the next screen and finally choose the Empty Activity:<\/p>\n<p><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/09\/1663897564_753_Solved-Class-interface-or-enum-expected-Error.jpg\"><img decoding=\"async\" src=\"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/09\/1663897564_753_Solved-Class-interface-or-enum-expected-Error.jpg\" alt=\"project_setup2\"><\/a><\/p>\n<p>then Next and in the next screen leave the default settings and click Finish<\/p>\n<p>Now in order to build this app we have to modify the files that I&#8217;m gonna show you<\/p>\n<p>The first file is essentially the layout of your app. To be fully precise hardcoding <code>16dp<\/code> as I did here is not the best practice but for the moment it will be ok<\/p>\n<p>In the left menu go to <code>app\/res\/layout<\/code> and double click <code>activity_main.xml<\/code><\/p>\n<p>You can see both the graphics and a code depending on if you are respectively clicking on <code>Design<\/code> or <code>Text<\/code> tab. You need to select this last one and copy and paste this code:<\/p>\n<pre><code>&lt;RelativeLayout xmlns:android=\"http:\/\/schemas.android.com\/apk\/res\/android\"\n    xmlns:tools=\"http:\/\/schemas.android.com\/tools\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    android:paddingBottom=\"16dp\"\n    android:paddingLeft=\"16dp\"\n    android:paddingRight=\"16dp\"\n    android:paddingTop=\"16dp\"\n    tools:context=\"com.stackoverflow.mario.MainActivity\" &gt;\n\n    &lt;TextView\n        android:id=\"@+id\/textView1\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:layout_alignParentTop=\"true\"\n        android:layout_centerHorizontal=\"true\"\n        android:layout_marginTop=\"97dp\"\n        android:text=\"Ratio\"\n        android:textAppearance=\"?android:attr\/textAppearanceMedium\"\n        android:textSize=\"@dimen\/abc_action_bar_default_height_material\" \/&gt;\n\n    &lt;TextView\n        android:id=\"@+id\/textView2\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:layout_alignParentLeft=\"true\"\n        android:layout_below=\"@+id\/textView1\"\n        android:layout_marginLeft=\"20dp\"\n        android:layout_marginTop=\"43dp\"\n        android:text=\"Number One\"\n        android:textAppearance=\"?android:attr\/textAppearanceMedium\" \/&gt;\n\n    &lt;EditText\n        android:id=\"@+id\/txtNumber1\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:layout_alignBottom=\"@+id\/textView2\"\n        android:layout_alignRight=\"@+id\/textView1\"\n        android:ems=\"2\"\n        android:singleLine=\"true\"\n        android:inputType=\"numberDecimal\" &gt;\n\n        &lt;requestFocus \/&gt;\n    &lt;\/EditText&gt;\n\n    &lt;TextView\n        android:id=\"@+id\/textView3\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:layout_alignLeft=\"@+id\/textView2\"\n        android:layout_below=\"@+id\/textView2\"\n        android:layout_marginTop=\"47dp\"\n        android:text=\"Number Two\"\n        android:textAppearance=\"?android:attr\/textAppearanceMedium\" \/&gt;\n\n    &lt;Button\n        android:id=\"@+id\/btnAdd\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:layout_alignLeft=\"@+id\/textView3\"\n        android:layout_alignRight=\"@+id\/textView3\"\n        android:layout_below=\"@+id\/textView3\"\n        android:layout_marginTop=\"46dp\"\n        android:onClick=\"onClick\"\n        android:text=\"Divide\" \/&gt;\n\n    &lt;EditText\n        android:id=\"@+id\/txtNumber2\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:layout_above=\"@+id\/btnAdd\"\n        android:layout_alignLeft=\"@+id\/txtNumber1\"\n        android:ems=\"2\"\n        android:singleLine=\"true\"\n        android:inputType=\"numberDecimal\" \/&gt;\n\n    &lt;TextView\n        android:id=\"@+id\/txtResult\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:layout_alignRight=\"@+id\/txtNumber2\"\n        android:layout_alignTop=\"@+id\/btnAdd\"\n        android:textAppearance=\"?android:attr\/textAppearanceMedium\" \/&gt;\n\n&lt;\/RelativeLayout&gt;\n<\/code><\/pre>\n<p>The second file is essentially the engine of your app. Go to <code>app\/java\/com\/stackoverflow\/mario<\/code> and click on <code>MainActivity<\/code>[.java]. Copy and paste the following code:<\/p>\n<pre><code>package com.stackoverflow.mario;\n\nimport android.os.Bundle;\nimport android.support.v7.app.AppCompatActivity;\nimport android.view.View;\nimport android.widget.Button;\nimport android.widget.EditText;\nimport android.widget.TextView;\n\npublic class MainActivity extends AppCompatActivity {\n\n    EditText firstNumber;\n    EditText secondNumber;\n    TextView addResult;\n    Button btnAdd;\n\n    double num1,num2,ratio;\n\n    @Override\n    protected void onCreate(Bundle savedInstanceState) {\n        super.onCreate(savedInstanceState);\n        setContentView(R.layout.activity_main);\n\n        firstNumber = (EditText)findViewById(R.id.txtNumber1);\n        secondNumber = (EditText)findViewById(R.id.txtNumber2);\n        addResult = (TextView)findViewById(R.id.txtResult);\n        btnAdd = (Button)findViewById(R.id.btnAdd);\n\n        btnAdd.setOnClickListener(new View.OnClickListener() {\n\n            public void onClick(View v) {\n                num1 = Double.parseDouble(firstNumber.getText().toString());\n                num2 = Double.parseDouble(secondNumber.getText().toString());\n                ratio = num1 \/ num2;\n                addResult.setText(Double.toString(ratio));\n            }\n        });\n    }\n\n}\n<\/code><\/pre>\n<p>Now if you build [in Android Studio: <code>Build<\/code> -&gt; <code>Rebuild Project<\/code>] and run [in Android Studio: <code>Run<\/code> -&gt; <code>Run App<\/code>] this app you will see a screen like this:<\/p>\n<p><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/09\/1663897565_778_Solved-Class-interface-or-enum-expected-Error.jpg\"><img decoding=\"async\" src=\"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/09\/1663897565_778_Solved-Class-interface-or-enum-expected-Error.jpg\" alt=\"app_screen\"><\/a><\/p>\n<p>You can run the app creating a virtual device [the previous screenshot is from the Android Emulator and you can create one virtual device clicking the button shown in this screenshot] <\/p>\n<p><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/09\/1663897565_571_Solved-Class-interface-or-enum-expected-Error.jpg\"><img decoding=\"async\" src=\"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/09\/1663897565_571_Solved-Class-interface-or-enum-expected-Error.jpg\" alt=\"android_device_choice\"><\/a><\/p>\n<p>or if you have your phone you can enable the USB debugging, connect the USB to the PC, select your device from the window showing the devices and then clicking OK<\/p>\n<p>credits for a similar sample to the author of <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/codehandbook.org\/simple-android-application\/\">this post<\/a><\/p>\n<\/p><\/div>\n<div class=\"mt24\"><\/div>\n<\/div>\n<p>            <span class=\"d-none\" itemprop=\"commentCount\">17<\/span> <\/p><\/div>\n<\/div>\n<p>[ad_2]<\/p>\n<p>solved Class interface or enum expected &#8211; Error <\/p>\n","protected":false},"excerpt":{"rendered":"<p>[ad_1] Ciao Mario, I think you want an Android app able to do this. First of all you have Android Studio installed so in Android Studio click on File -&gt; New -&gt; New Project&#8230; and let&#8217;s create the project as shown here. Your project location will be different and it&#8217;s ok but if you don&#8217;t &#8230; <a title=\"[Solved] Class interface or enum expected &#8211; Error\" class=\"read-more\" href=\"https:\/\/jassweb.com\/solved\/solved-class-interface-or-enum-expected-error\/\" aria-label=\"More on [Solved] Class interface or enum expected &#8211; Error\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[320],"tags":[452,323],"class_list":["post-10312","post","type-post","status-publish","format-standard","hentry","category-solved","tag-android","tag-java"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[Solved] Class interface or enum expected - Error - JassWeb<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jassweb.com\/solved\/solved-class-interface-or-enum-expected-error\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[Solved] Class interface or enum expected - Error - JassWeb\" \/>\n<meta property=\"og:description\" content=\"[ad_1] Ciao Mario, I think you want an Android app able to do this. First of all you have Android Studio installed so in Android Studio click on File -&gt; New -&gt; New Project... and let&#8217;s create the project as shown here. Your project location will be different and it&#8217;s ok but if you don&#8217;t ... Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jassweb.com\/solved\/solved-class-interface-or-enum-expected-error\/\" \/>\n<meta property=\"og:site_name\" content=\"JassWeb\" \/>\n<meta property=\"article:published_time\" content=\"2022-09-23T01:46:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/09\/Solved-Class-interface-or-enum-expected-Error.jpg\" \/>\n<meta name=\"author\" content=\"Kirat\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kirat\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-class-interface-or-enum-expected-error\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-class-interface-or-enum-expected-error\/\"},\"author\":{\"name\":\"Kirat\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31\"},\"headline\":\"[Solved] Class interface or enum expected &#8211; Error\",\"datePublished\":\"2022-09-23T01:46:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-class-interface-or-enum-expected-error\/\"},\"wordCount\":324,\"publisher\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#organization\"},\"image\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-class-interface-or-enum-expected-error\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/09\/Solved-Class-interface-or-enum-expected-Error.jpg\",\"keywords\":[\"android\",\"java\"],\"articleSection\":[\"Solved\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-class-interface-or-enum-expected-error\/\",\"url\":\"https:\/\/jassweb.com\/solved\/solved-class-interface-or-enum-expected-error\/\",\"name\":\"[Solved] Class interface or enum expected - Error - JassWeb\",\"isPartOf\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-class-interface-or-enum-expected-error\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-class-interface-or-enum-expected-error\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/09\/Solved-Class-interface-or-enum-expected-Error.jpg\",\"datePublished\":\"2022-09-23T01:46:05+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-class-interface-or-enum-expected-error\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/jassweb.com\/solved\/solved-class-interface-or-enum-expected-error\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-class-interface-or-enum-expected-error\/#primaryimage\",\"url\":\"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/09\/Solved-Class-interface-or-enum-expected-Error.jpg\",\"contentUrl\":\"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/09\/Solved-Class-interface-or-enum-expected-Error.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-class-interface-or-enum-expected-error\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/jassweb.com\/solved\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[Solved] Class interface or enum expected &#8211; Error\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/jassweb.com\/solved\/#website\",\"url\":\"https:\/\/jassweb.com\/solved\/\",\"name\":\"JassWeb\",\"description\":\"Build High-quality Websites\",\"publisher\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/jassweb.com\/solved\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/jassweb.com\/solved\/#organization\",\"name\":\"Jass Web\",\"url\":\"https:\/\/jassweb.com\/solved\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png\",\"contentUrl\":\"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png\",\"width\":693,\"height\":132,\"caption\":\"Jass Web\"},\"image\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31\",\"name\":\"Kirat\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1775193939\",\"contentUrl\":\"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1775193939\",\"caption\":\"Kirat\"},\"sameAs\":[\"http:\/\/jassweb.com\"],\"url\":\"https:\/\/jassweb.com\/solved\/author\/jaspritsinghghumangmail-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[Solved] Class interface or enum expected - Error - JassWeb","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/jassweb.com\/solved\/solved-class-interface-or-enum-expected-error\/","og_locale":"en_US","og_type":"article","og_title":"[Solved] Class interface or enum expected - Error - JassWeb","og_description":"[ad_1] Ciao Mario, I think you want an Android app able to do this. First of all you have Android Studio installed so in Android Studio click on File -&gt; New -&gt; New Project... and let&#8217;s create the project as shown here. Your project location will be different and it&#8217;s ok but if you don&#8217;t ... Read more","og_url":"https:\/\/jassweb.com\/solved\/solved-class-interface-or-enum-expected-error\/","og_site_name":"JassWeb","article_published_time":"2022-09-23T01:46:05+00:00","og_image":[{"url":"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/09\/Solved-Class-interface-or-enum-expected-Error.jpg","type":"","width":"","height":""}],"author":"Kirat","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Kirat","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jassweb.com\/solved\/solved-class-interface-or-enum-expected-error\/#article","isPartOf":{"@id":"https:\/\/jassweb.com\/solved\/solved-class-interface-or-enum-expected-error\/"},"author":{"name":"Kirat","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31"},"headline":"[Solved] Class interface or enum expected &#8211; Error","datePublished":"2022-09-23T01:46:05+00:00","mainEntityOfPage":{"@id":"https:\/\/jassweb.com\/solved\/solved-class-interface-or-enum-expected-error\/"},"wordCount":324,"publisher":{"@id":"https:\/\/jassweb.com\/solved\/#organization"},"image":{"@id":"https:\/\/jassweb.com\/solved\/solved-class-interface-or-enum-expected-error\/#primaryimage"},"thumbnailUrl":"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/09\/Solved-Class-interface-or-enum-expected-Error.jpg","keywords":["android","java"],"articleSection":["Solved"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/jassweb.com\/solved\/solved-class-interface-or-enum-expected-error\/","url":"https:\/\/jassweb.com\/solved\/solved-class-interface-or-enum-expected-error\/","name":"[Solved] Class interface or enum expected - Error - JassWeb","isPartOf":{"@id":"https:\/\/jassweb.com\/solved\/#website"},"primaryImageOfPage":{"@id":"https:\/\/jassweb.com\/solved\/solved-class-interface-or-enum-expected-error\/#primaryimage"},"image":{"@id":"https:\/\/jassweb.com\/solved\/solved-class-interface-or-enum-expected-error\/#primaryimage"},"thumbnailUrl":"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/09\/Solved-Class-interface-or-enum-expected-Error.jpg","datePublished":"2022-09-23T01:46:05+00:00","breadcrumb":{"@id":"https:\/\/jassweb.com\/solved\/solved-class-interface-or-enum-expected-error\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jassweb.com\/solved\/solved-class-interface-or-enum-expected-error\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jassweb.com\/solved\/solved-class-interface-or-enum-expected-error\/#primaryimage","url":"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/09\/Solved-Class-interface-or-enum-expected-Error.jpg","contentUrl":"https:\/\/jassweb.com\/solved\/wp-content\/uploads\/2022\/09\/Solved-Class-interface-or-enum-expected-Error.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/jassweb.com\/solved\/solved-class-interface-or-enum-expected-error\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jassweb.com\/solved\/"},{"@type":"ListItem","position":2,"name":"[Solved] Class interface or enum expected &#8211; Error"}]},{"@type":"WebSite","@id":"https:\/\/jassweb.com\/solved\/#website","url":"https:\/\/jassweb.com\/solved\/","name":"JassWeb","description":"Build High-quality Websites","publisher":{"@id":"https:\/\/jassweb.com\/solved\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jassweb.com\/solved\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/jassweb.com\/solved\/#organization","name":"Jass Web","url":"https:\/\/jassweb.com\/solved\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/","url":"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png","contentUrl":"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png","width":693,"height":132,"caption":"Jass Web"},"image":{"@id":"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31","name":"Kirat","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/image\/","url":"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1775193939","contentUrl":"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1775193939","caption":"Kirat"},"sameAs":["http:\/\/jassweb.com"],"url":"https:\/\/jassweb.com\/solved\/author\/jaspritsinghghumangmail-com\/"}]}},"_links":{"self":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts\/10312","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/comments?post=10312"}],"version-history":[{"count":0,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts\/10312\/revisions"}],"wp:attachment":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/media?parent=10312"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/categories?post=10312"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/tags?post=10312"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}